import { notEmpty } from '~/utils/common.js'
import AppSettings from '/app_settings/settings.js'

export async function customSettingsLoadBefore(ComputedSettings) {
  if (notEmpty(AppSettings) && notEmpty(AppSettings.custom)) {
    ComputedSettings.custom = AppSettings.custom
  }
}

export async function customSettingsLoadBeforeMount(ComputedSettings, appInstance) {}

export async function customSettingsLoadAfter(ComputedSettings, appInstance) {}
